package com.fjec.activity.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 003.赠送礼物详细表
 * </p>
 *
 * @author admin
 * @since 2020-09-18
 */
@TableName("biz_give_gift_detail")
@Data
public class BizGiveGiftDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键Id
     */
    @TableId("Id")
    private Long id;

    /**
     * 赠与记录Id
     */
    @TableField("GivingId")
    private Long givingId;

    /**
     * 礼物Id
     */
    @TableField("GiftId")
    private Long giftId;

    /**
     * 礼物名称
     */
    @TableField("GiftName")
    private String giftName;

    /**
     * 礼物数量
     */
    @TableField("GiftNum")
    private Integer giftNum;

    /**
     * 购买数量
     */
    @TableField("BuyNum")
    private Integer buyNum;

    /**
     * 礼物单价
     */
    @TableField("GiftPrice")
    private Integer giftPrice;

    /**
     * 创建时间
     */
    @TableField("CreateTime")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @TableField("UpdateTime")
    private LocalDateTime updateTime;


    @Override
    public String toString() {
        return "BizGiveGiftDetail{" +
            "id=" + id +
            ", giftId=" + giftId +
            ", giftNum=" + giftNum +
            ", createTime=" + createTime +
            ", updateTime=" + updateTime +
        "}";
    }
}
